---
title: "QueryParamValueSetter"
description: "Utility class for setting and validating query parameter values"
---

## QueryParamValueSetter

```python
QueryParamValueSetter()
```

### Static Methods

#### set_values()

```python
set_values(query_descriptor, params) -> QueryDescriptor
```

<ParamField path="query_descriptor" type="QueryDescriptor" required>
The query descriptor to set parameter values on.
</ParamField>

<ParamField path="params" type="Mapping[str, ParamInputType | None]" required>
The parameter values to set.
</ParamField>

**Returns**: `QueryDescriptor` - The updated query descriptor with parameter values set.

#### validate_params()

```python
validate_params(query_descriptor, params_to_set) -> None
```

<ParamField path="query_descriptor" type="QueryDescriptor" required>
The query descriptor to validate parameters against.
</ParamField>

<ParamField path="params_to_set" type="Mapping[str, Any]" required>
The parameters to validate.
</ParamField>